package com.yeyks.commonReference.pojo.param.vip.MemberCardOnline;

import com.yeyks.common.param.consumer.UserIdParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class MemberCardOnlineSetPasswordParam extends UserIdParam {

    @ApiModelProperty(value = "密码")
    @NotBlank
    private String password;

    @ApiModelProperty(value = "1:甄选  2：精选")
    @NotNull
    @Min(1)
    @Max(2)
    private Integer cardType;

}
